home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 050 / xrf.arc / XRFD.C < prev    next >
Encoding:
C/C++ Source or Header  |  1986-04-20  |  2.2 KB  |  52 lines

  1. /*
  2.  *                      ***************
  3.  *                      * X R F D . C *
  4.  *                      ***************
  5.  *
  6.  * This file contains global externals and tables used by the C xrf'er.
  7.  *
  8.  * Version 1.5           3-Jul-80       Added RT-11 compatibility.
  9.  * Version 1.6        10-Jul-80 MM    Added new stuff
  10.  * Version 1.7        22-Jul-80 MM    For fwild() stuff
  11.  */
  12.  
  13. #include <stdio.h>
  14. #include "xrf.h"
  15.  
  16. FILE *src;                      /* Source file pointer */
  17. FILE *lst;                      /* List file pointer */
  18.  
  19. int funflg = 0;                 /* Function calls only flag */
  20. int prnflg = 0;                 /* Print source file flag */
  21. int conflg = 0;                 /* Concatanate source file flag */
  22. int verbose = 0;                /* chatty mode flag */
  23.  
  24. int  lineno = 0;                /* Current source line number */
  25. int  linpg = 0;                 /* Line-in-page count */
  26. int  linewidth = LWIDTH;        /* Line width (-n changes to 80)*/
  27. int  symbolsize = SCPS;         /* symbol size df=SMALL (-i changes to LARGE)*/
  28. int  rperline;                  /* Symbols per report line */
  29. int  lintot = 0;                /* line count total */
  30. int  namtot = 0;                /* name count total */
  31. int  reftot = 0;                /* reference count total */
  32. int  namcnt = 0;                /* name count this file */
  33. int  refcnt = 0;                /* reference count this file */
  34. int  wfilno=0;            /* MDN file sequence no */
  35.  
  36. char progname[9];               /* current source program name*/
  37. char pghead[LWIDTH+1];          /* current page heading */
  38.  
  39. char scanbf[LWIDTH+1];          /* Source line scan buffer */
  40. char *scanp;                    /* Scan pointer */
  41.  
  42. char idbuf[NCPS+1];             /* Ident. string buffer [XRF0/1/2 */
  43. char lastsym[NCPS+1];           /* previous symbol [XRF3] (avoid repitition) */
  44.  
  45. struct idt *root;               /* ID tree root */
  46. struct dsk *polroot;            /* 'polyphase disk merge chain' root*/
  47. struct dsk *polcurr;            / 'polyphase disk merge chain' current*/
  48. unsigned char wpath[65] = "";   /* work file path picked up from C86TEMP */
  49.  
  50. char    thetime[9];            /* For unix flavored systems*/
  51. char    thedate[23];            /* For unix flavored systems*/
  52.